package regex.a01demo1;

public class Test2 {
    public static void main(String[] args) {
        System.out.println("a".matches("[^abc]"));
        System.out.println("a".matches("[^abc]"));

        System.out.println("---------------------");

        System.out.println("ab".matches("[abc][abc]"));

    }
}
